﻿using Admin.NET.Core;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 选课任务
/// </summary>
[SugarTable("XuankeTask","选课任务")]
public class XuankeTask  : EntityBase
{
    /// <summary>
    /// 选课任务名称
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Name", ColumnDescription = "选课任务名称", Length = 100)]
    public string Name { get; set; }
    
    /// <summary>
    /// 开始时间
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "StartTime", ColumnDescription = "开始时间")]
    public DateTime StartTime { get; set; }
    
    /// <summary>
    /// 结束时间
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "EndTime", ColumnDescription = "结束时间")]
    public DateTime EndTime { get; set; }
    
    /// <summary>
    /// 启用
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Active", ColumnDescription = "启用")]
    public bool Active { get; set; }
    
    /// <summary>
    /// 级
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Ji", ColumnDescription = "级")]
    public int Ji { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Status", ColumnDescription = "状态", Length = 20)]
    public string Status { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 200)]
    public string? Remark { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    [SugarColumn(ColumnName = "CreateUserName", ColumnDescription = "创建者姓名", Length = 64)]
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    [SugarColumn(ColumnName = "UpdateUserName", ColumnDescription = "修改者姓名", Length = 64)]
    public string? UpdateUserName { get; set; }
    
}
